#include"Heap.h"

void Printf(int* a,int n)
{
	for (int i=0;i<n;i++)
	{
		printf("%d ",a[i]);
	}
	printf("\n");
}
int main()
{
	int arr[] = {1,9,8,6,7,4,3,2,5};
	HPadjust(arr, sizeof(arr) / sizeof(int));
	Printf(arr,sizeof(arr)/sizeof(int));
}